To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
I have been trying to build a 68K part with CW9 and with SCpp without success. The problems with SCpp have to do with the fact that our code uses STL and SCpp 8.1.02 and SCpp 8.1.03b3 (ETO 20) won't compile a STL map. They die with an internal error.
CodeWarrior will compile our code. In fact the PPC code is working just fine. However, I have two problems with the 68K version. If I compile with native exception and RTTI support, our part will make stationary. Upon opening stationary, it dies somewhere in the framework. I cannot tell where since the debugger doesn't give anything useful on the stack trace. I imagine this is due to the 4 byte struct problem mentioned in the docs on DR5. However, I cannot seem to find any netbourne patches to CW9 C++ compiler.
If I compile with emulated exceptions, I get asserts saying that FW_HInk, FW_CString and others are being constructed in an improper context. I cannot seem to find the improper context.
I have two questions:
1) Has anyone successful compiled and run a 68K part using CW9? If there is a patch, anyone know where it is?